package org.ovirt.microvirt.services.host;

import org.ovirt.microvirt.services.HostFacade;
import org.ovirt.microvirt.services.HostService;

public class HostFacadeImpl implements HostFacade {

	public HostFacadeImpl(HostService hostService) {
		super();
		this.hostService = hostService;
	}

	final HostService hostService;

	@Override
	public String removeHost(String name) {
		//TODO: enforce rules
		hostService.remove(hostService.getById(name));
		return name;
	}

}
